""" -*- coding: utf-8 -*-
 @Time    : 2019/1/24 21:40
 @Author  : 木鱼
 @File    : __init__.py.py
 @Software: PyCharm
"""
from flask import Blueprint
from app.api.v1 import user, book, client, token


def create_blueprint():
    bp_v1 = Blueprint('v1', __name__)
    user.api.register(bp_v1)
    book.api.register(bp_v1)
    client.api.register(bp_v1)
    token.api.register(bp_v1)
    return bp_v1
